home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / grafik / bildanzeiger / superview-lib_dev / include / svdrivers / svdriverbase.h next >
C/C++ Source or Header  |  1995-03-09  |  2KB  |  72 lines

  1. /* svdrivers/svdriverbase.h        */
  2. /* Version    : 3.5            */
  3. /* Date       : 28.03.1994        */
  4. /* Written by : Andreas R. Kleinert */
  5.  
  6. /* SVDriver-Version V1.x+ */
  7.  
  8. #ifndef SVDRIVERS_SVDRIVERBASE_H
  9. #define SVDRIVERS_SVDRIVERBASE_H
  10.  
  11. #ifndef SVDRIVERS_SVDRIVERS_H
  12. #include <svdrivers/svdrivers.h>
  13. #endif /* SVDRIVERS_SVDRIVERS_H */
  14.  
  15. #ifndef EXEC_LISTS
  16. #include <exec/lists.h>
  17. #endif /* EXEC_LISTS */
  18.  
  19. #ifndef EXEC_LIBRARIES
  20. #include <exec/libraries.h>
  21. #endif /* EXEC_LIBRARIES_H */
  22.  
  23.    /* An external Driver-Library (for graphics cards, framebuffers, etc.)
  24.       for the superview.library is called a "svdriver".
  25.       Each svdriver has to contain a "SVD_DriverNode" structure (as follows)
  26.       in its Library-Header, which later will be READ and MODIFIED by
  27.       the superview.library.
  28.    */
  29.  
  30.    /* The Construction of a svdriver :
  31.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  32.  
  33.       The Library Base
  34.       ----------------
  35.  
  36.       Version MUST be 1 yet, Revision can be set freely
  37.  
  38.       (see structure described below)
  39.  
  40.  
  41.       The Function Table
  42.       ------------------
  43.  
  44.       (see <pragmas/svdrivers.h> or Reference_ENG.doc)
  45.  
  46.    */
  47.  
  48. /* *************************************************** */
  49. /* *                             * */
  50. /* * Library base Definition for svdrivers         * */
  51. /* *                             * */
  52. /* *************************************************** */
  53.  
  54. struct SVDriverBase
  55. {
  56.  struct Library     svb_LibNode;       /* Exec LibNode             */
  57.  struct SVD_DriverNode *svb_SVDriver;       /* POINTER to initialized         */
  58.                        /* SVD_DriverNode             */
  59.                        /* Define it somewhere else,      */
  60.                        /* then initialize this pointer.  */
  61.  
  62.  ULONG            svd_Reserved [32]; /* Reserved for future expansion. */
  63.                        /* Always NULL yet (Version 1).   */
  64.  
  65.  /*
  66.    Private data of the svdriver, not to be accessed
  67.    by superview.library, may follow.
  68.  */
  69. };
  70.  
  71. #endif /* SVDRIVERS_SVDRIVERBASE_H */
  72.